package com.yhb.channel.impl.BJCJ.http.Response.base;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.yhb.channel.impl.BJCJ.BJCJConstant;
import lombok.Data;

@Data
public class BJCJBaseResponse {
    private String code; // 响应码
    private String message; // 响应信息

    @JsonIgnore
    public boolean isSuccess() {
        return BJCJConstant.CHANNEL_SUCCESS_CODE.equals(this.code);
    }
}
